home *** CD-ROM | disk | FTP | other *** search
- Path: news.icubed.com!usenet
- From: stevejones@ansys.com (Steve Jones)
- Newsgroups: comp.lang.c++,comp.os.ms-windows.programmer.tools.mfc
- Subject: CFormView and SetWindowText()
- Date: 4 Apr 1996 15:18:10 GMT
- Organization: Infobahn International, Inc.
- Sender: sj2393@ansys.com (Steve Jones)
- Message-ID: <4k0p7i$btp@news.icubed.com>
- NNTP-Posting-Host: 192.104.24.222
- X-Newsreader: knews 0.9.6
-
- Using MFC:
-
- I've got an MDI app using a CFormView derived class for the
- views. I collect data from via controls in this view. Once
- I get a particular CString datum, m_filename, I try to
- change the view windows caption in the title bar to that
- CString:
-
- SetWindowText(m_filename);
-
- However, nothing happens. GetWindowText() returns my
- string. But visually, the change doesn't take effect. I do
- this sort of thing regularly with dialog windows without any
- trouble. What am I doing wrong?
-
- steve
- stevejones@ansys.com
-
-